export function getRedirectPath({type,avatar}) {
    //console.log(type);
    let url = (type==='boss')?'/boss':'/genius'
    if(!avatar){
        url += 'info'
    }
    return url;
}
export function getChatId(userId,targetId){
    return [userId,targetId].sort().join('_');
}